const redirect = {
    path: '/index/charge',
    redirect: '/index/charge/chargeRegistration'
} // 访问路由重定向
const pagePath = {
    path: '/index/charge',
    component: import('@/views/charge/Charge.vue'),
    name: 'Charge',
    children: [
        {
            path: '/index/charge/chargeRegistration',
            component: import('@/views/charge/chargeRegistration/chargeRegistration.vue'),
            name: 'chargeRegistration'
        },
        {
            path: '/index/charge/chargeClaim',
            component: import('@/views/charge/chargeClaim/chargeClaim.vue'),
            name: 'chargeClaim'
        },
        {
            path: '/index/charge/chargeChecked',
            component: import('@/views/charge/chargeChecked/chargeChecked.vue'),
            name: 'chargeChecked'
        },
        {
            path: '/index/charge/statistics',
            component: import('@/views/charge/statistics/statistics.vue'),
            name: 'statistics'
        },
        {
            path: '/index/charge/expenses',
            component: import('@/views/charge/expenses/expenses.vue'),
            name: 'expenses'
        },
        {
            path: '/index/charge/refund',
            component: import('@/views/charge/refund/refund.vue'),
            name: 'refund'
        },
        {
            path: '/index/charge/invoice',
            component: import('@/views/charge/invoice/invoice.vue'),
            name: 'invoice'
        },
        {
            path: '/index/charge/onLinePaySetting',
            component: import('@/views/charge/onLinePaySetting/onLinePaySetting.vue'),
            name: 'onLinePaySetting'
        },
        {
            path: '/index/charge/Chargesetting',
            component: import('@/views/charge/Chargesetting/Chargesetting.vue'),
            name: 'Chargesetting'
        },

    ]
} // 访问路由路径
const parent = '/index'
const levelOne = false // 是否是一级路由
const chargeRouter = {
    redirect,
    pagePath,
    parent,
    levelOne
}
export {
    chargeRouter
}